<?php

namespace app\api\listener;

use app\common\model\VillageProductCart;

class InvalidVillageProductCart
{
    public function handle($data)
    {
        VillageProductCart::update(['status' => 0], ['pid' => $data['pid']]);
    }
}